LOCAL_PATH := $(call my-dir)


include $(CLEAR_VARS)

LOCAL_MODULE    := mtimage
LOCAL_SRC_FILES := libmtimage-jni.so  
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_LDLIBS    := -llog -ljnigraphics -lstdc++
include $(PREBUILT_SHARED_LIBRARY)

include $(CLEAR_VARS)


LOCAL_MODULE    := ImageProcessing
### Add all source file names to be included in lib separated by a whitespace
LOCAL_SRC_FILES := com_imageprocess_JNI.c
#LOCAL_LDLIBS    := -llog -ljnigraphics 
#LOCAL_CFLAGS := -DANDROID_NDK
#LOCAL_STATIC_LIBRARIES := android_native_app_glue
#LOCAL_ARM_MODE := arm
#LOCAL_C_INCLUDES :=$(PATH_TO_FREEIMAGE_SOURCE)
#LOCAL_SHARED_LIBRARIES := myfreeimage
#LOCAL_LDLIBS += -L $(PATH_TO_FREEIMAGE_LIB) -lfreeimage
LOCAL_SHARED_LIBRARIES:=mtimage
include $(BUILD_SHARED_LIBRARY)
